from enum import Enum


class RelationProcessType(Enum):
    """
    生成的过程状态
    """
    WAITING = "WAITING"  # 等待生成
    PROCESSING = "PROCESSING"  # 生成中
    USER_STOP = "USER_STOP"  # 用户停止
    STOPPING = "STOPPING"  # 停止中
    WRITING_DATA = "WRITING_DATA"  # 数据写入中
    FINISHED = "FINISHED"  # 生成完成
